package mylab.commons.web.mvc.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import mylab.base.model.dto.DTO;

@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public abstract class BaseEntityDTO extends DTO {

    /**
     * id
     */
    @ApiModelProperty(value = "唯一编码")
    protected String id;

    /**
     * 启用状态标识
     */
    @ApiModelProperty(value = "启用状态标识", notes = "true:无效 false:有效")
    protected Boolean invalid = false;

    /**
     * 扩展属性
     */
    @ApiModelProperty(value = "扩展数据，可能是json字符串")
    protected String extra;
}
